package aiku.numericalcontroloa.Model.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @Author 黄广庭
 * @Date 2024/1/6 17:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "user")
public class User extends BaseEntity implements Serializable {

    @TableField(value = "openId")
    private String openId;

    @TableField(value = "empno")
    private String empno;

    @TableField(value = "password")
    private String password;

    @TableField(value = "nick_name")
    private String nickName;

    @TableField(value = "role_id")
    private String roleId;

    @TableField(value = "sex")
    private Integer sex;

    @TableField(value = "image")
    private String image;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "state")
    private Integer state;

    @TableField(value = "percentage")
    private Float percentage;

}
